Skip to content

dist.accelerate component#838

Open
d4l3k wants to merge 1 commit intomainfrom
d4l3k/accelerate
Open

dist.accelerate component#838
d4l3k wants to merge 1 commit intomainfrom
d4l3k/accelerate

Conversation

@d4l3k
Copy link
Member

@d4l3k d4l3k commented Mar 1, 2024

This is a component that uses HuggingFace's accelerate in a similar manner to torchrun. I haven't tested with a accelerate config.

Fixes #834

Test plan:

pytest torchx/components/test/dist_test.py
scripts/component_integration_tests.py --scheduler local_cwd
torchx run -s local_cwd dist.accelerate -j2x2 --script torchx/examples/apps/compute_world_size/main.py

@d4l3k d4l3k requested a review from kiukchung March 1, 2024 00:52
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 1, 2024
@d4l3k d4l3k marked this pull request as ready for review March 1, 2024 00:52
@d4l3k d4l3k requested a review from manav-a March 1, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HuggingFace accelerate component

2 participants